/**
 * Created by Daniel on 7/22/16.
 */
import alt from '../alt';
import HomeActions from '../actions/HomeActions';

class HomeStore {

    constructor() {
        this.bindActions(HomeActions);
        this.requireList = [];
    }

    onGetRequireListSuccess(successMessage){
        this.requireList = successMessage;
    }

    onGetRequireListFail(errorMessage){
        toastr.error(errorMessage);
    }
}

export default alt.createStore(HomeStore);